﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 创建者模式.factory
{
    public class AppleFactory: IFruitFactory
    {
        public Fruit CreateFruit()
        {
            return new AppleFruit("apple", "Hfs", 18, "sd");
            
        }
    }
}
